83aa65415b5f6a4977975c991ee9bf625575eb37,jetty-server/src/test/java/org/eclipse/jetty/server/handler/ContextHandlerAliasTest.java,ContextHandlerAliasTest,testSymLinkToContentWithPathPrefixCheck,#,185

Before Change


        File symlink = new File(_dir,"dirlink");
        try
        {
            Files.createSymbolicLink(symlink.toPath(),new File(_dir,".").toPath());

            _ctx.setAliases(false);
            _ctx.addAliasCheck(new ContextHandler.ApprovePathPrefixAliases());

After Change


    @Test
    public void testSymLinkToContentWithPathPrefixCheck() throws Exception
    {
        File symlink = new File(_dir,"dirlink");
        try
        {
        	createNIOSymlink(symlink,new File(_dir,"."));

            _ctx.setAliases(false);
            _ctx.addAliasCheck(new ContextHandler.ApprovePathPrefixAliases());